﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UI;
using Base.Extensions;
public class UIRoot : MonoBehaviour {
  public  UIPanelType uipanel;
    public bool Active=false;
    // Use this for initialization
    void Start () {
        Screen.SetResolution(1920, 1080, true);
        UIManager.Instance.ResetPanelStack();
        UIManager.Instance.PushPanel(uipanel);
        if (Active)
        {
            UIManager.Instance.PopPanel();
        }
    }
	
	// Update is called once per frame
	void Update () {
		
	}
}
